import React from "react"
import Paginate from "../../components/@vuexy/paginate";
import {connect} from "react-redux";
class Home extends React.Component{
  onPageChange(page){
    console.log(page)
  }
  render(){
    return <div>
      <Paginate meta={this.props.projects.meta} onPageChange={this.onPageChange}/>
    </div>
  }
}
const mapStateToProps = state => {
  return {
    projects: state.projects
  }
};
export default connect(mapStateToProps, {  })(Home)
